package com.wh.service.impl;

import com.wh.dao.IADao;
import com.wh.dao.IBDao;
import com.wh.service.IABService;

/**
 * @Auther: HuiEr
 * @Date: 2020/3/15 20:24
 * @Description
 */
public class ABService implements IABService {
    private IADao iaDao;
    private IBDao ibDao;

    public void setIaDao(IADao iaDao){
        this.iaDao=iaDao;
    }
    public void setIbDao(IBDao ibDao){
        this.ibDao=ibDao;
    }
    @Override
    public void aaa() {
        iaDao.a();
        iaDao.aa();
    }

    @Override
    public void abaa() {
        iaDao.a();
        ibDao.b();
        iaDao.aa();
    }
}
